Remove unused private_workforce arg#183
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b3ab41dd56
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| name: str, | ||
| payment_per_response: float = None, | ||
| private_workforce: bool = False, | ||
| instructions: str = None, |
There was a problem hiding this comment.
Keep accepting private_workforce for compatibility
For clients that still pass the previously documented private_workforce argument (including the example notebook before this change), this signature now raises TypeError: got an unexpected keyword argument 'private_workforce' before the SDK can create the project; positional callers also have later arguments shifted into the wrong parameters. If the field should no longer be sent to the API, keep the parameter as a deprecated no-op instead of removing it from the public method signature.
Useful? React with 👍 / 👎.
No description provided.